package com.hjy.order.feign;

import com.hjy.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("gulimall-product")
public interface productFeignService {

    @RequestMapping("/product/spuinfo/skuId/{id}")
    public R getSpuInfoBySkuId(@PathVariable Long id);
}
